﻿@model Anglo.Models.SearchParameters

@{
    ViewBag.disciplines = new List<SelectListItem>()
    {
        new SelectListItem()
        {
             Text = "One",
             Value = "1"
        }
    };
    }

<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm("search", "jobs")) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>SearchParameters</legend>
        @Html.ListBox("disciplines")
        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}